<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="navipanel.ascx.cs" Inherits="Webcar.navipanel" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Panel ID="pHeader" runat="server" style="cursor: pointer;">
     <div class = "sideheader">
         <div style="float:left"><asp:Image ID="Description_ToggleImage" runat="server" SkinID="panel_collapse" />
         <a href="" onclick="return true;" >
         <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label>
         </a>
         </div>
     </div>
</asp:Panel>
<asp:Panel ID="pContent" runat="server">
     <asp:DataList ID="DataList1" runat="server" Width="100%">
        <ItemStyle CssClass="tableItems"/>  
        <ItemTemplate>
            
            &nbsp;&nbsp;<asp:HyperLink ID="HyperLink1" Target="ifrm" runat="server" NavigateUrl= '<%# Eval("Url") %>'
            Text='<%# Eval("Title") %>'></asp:HyperLink>
            
        </ItemTemplate>
         
     </asp:DataList>
     </asp:Panel>

<ajaxToolkit:CollapsiblePanelExtender ID="cpeDescription" runat="Server" 
    TargetControlID="pContent"
    ExpandControlID="pHeader"
    CollapseControlID="pHeader"
    Collapsed="False"        
    ExpandDirection="Vertical"
    ImageControlID="Description_ToggleImage"
    ExpandedImage="App_Themes/Default/Images/collapse_blue.jpg"
    ExpandedText="Collapse"
    CollapsedImage="App_Themes/Default/Images/expand_blue.jpg"
    CollapsedText="Expand"
    SuppressPostBack="true" />